"use strict";
// 爬虫攻防之浏览器js原型链伪装 navigator.plugins 构造 PluginArray
const Plugin = [
  {
    0: {
      type: "application/x-google-chrome-pdf",
      suffixes: "pdf",
      description: "Portable Document Format",
      enabledPlugin: function () {
        return (function () {
          return Plugin;
        })();
      },
    },
    description: "Portable Document Format",
    filename: "internal-pdf-viewer",
    length: 1,
    name: "Chrome PDF Plugin",
  },
  {
    0: {
      type: "application/pdf",
      suffixes: "pdf",
      description: "",
      enabledPlugin: function () {
        return (function () {
          return Plugin;
        })();
      },
    },
    description: "",
    filename: "mhjfbmdgcfjbbpaeojofohoefgiehjai",
    length: 1,
    name: "Chrome PDF Viewer",
  },
  {
    0: {
      type: "application/x-nacl",
      suffixes: "",
      description: "Native Client Executable",
      enabledPlugin: function () {
        return (function () {
          return Plugin;
        })();
      },
    },
    1: {
      type: "application/x-pnacl",
      suffixes: "",
      description: "Portable Native Client Executable",
      enabledPlugin: function () {
        return (function () {
          return Plugin;
        })();
      },
    },
    description: "",
    filename: "internal-nacl-plugin",
    length: 2,
    name: "Native Client",
  },
];

const ATTACK = {
  plugins: Plugin,
};

module.exports = ATTACK;
